<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Projeto Rede Social POO: Referência do Arquivo Utilidades.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Generic-Network2.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Projeto Rede Social POO
   &#160;<span id="projectnumber">4.0</span>
   </div>
   <div id="projectbrief">Simulacao de uma rede social</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Gerado por Doxygen 1.8.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Busca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;Principal</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Arquivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Busca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&#160;de&#160;Arquivos</span></a></li>
      <li><a href="globals.html"><span>Arquivos&#160;Membros</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_utilidades_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Arquivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Definições de Tipos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Definições e Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Páginas</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Componentes</a> &#124;
<a href="#define-members">Definições e Macros</a> &#124;
<a href="#typedef-members">Definições de Tipos</a> &#124;
<a href="#func-members">Funções</a>  </div>
  <div class="headertitle">
<div class="title">Referência do Arquivo Utilidades.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;ctime&gt;</code><br/>
<code>#include &lt;cstdio&gt;</code><br/>
<code>#include &lt;string&gt;</code><br/>
<code>#include &lt;sstream&gt;</code><br/>
<code>#include &lt;unistd.h&gt;</code><br/>
</div>
<p><a href="_utilidades_8h_source.html">Vá para o código-fonte deste arquivo.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Componentes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_retorno_info.html">RetornoInfo</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Definições e Macros</h2></td></tr>
<tr class="memitem:ab0d87e07831e7e4943caef187872123e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_utilidades_8h.html#ab0d87e07831e7e4943caef187872123e">COMMAND</a>&#160;&#160;&#160;&quot;clear&quot;</td></tr>
<tr class="separator:ab0d87e07831e7e4943caef187872123e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a5ceb9ceb914e08d345410b561cb37a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_utilidades_8h.html#a0a5ceb9ceb914e08d345410b561cb37a">CMD</a>&#160;&#160;&#160;<a class="el" href="_utilidades_8h.html#af4f3c80609d474d15c59d1b02b55e463">sleep</a>(2)</td></tr>
<tr class="separator:a0a5ceb9ceb914e08d345410b561cb37a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a837d656118d66925e32295b470fd501a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_utilidades_8h.html#a837d656118d66925e32295b470fd501a">emailsValidos</a>&#160;&#160;&#160;&quot;emailsValidosLinux&quot;</td></tr>
<tr class="separator:a837d656118d66925e32295b470fd501a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33f222a477648d24f7b695987c05210f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_utilidades_8h.html#a33f222a477648d24f7b695987c05210f">emailsAdmin</a>&#160;&#160;&#160;&quot;emailsAdminLinux&quot;</td></tr>
<tr class="separator:a33f222a477648d24f7b695987c05210f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5166c8175013d418faa62b6e59897c26"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_utilidades_8h.html#a5166c8175013d418faa62b6e59897c26">wipe</a>()&#160;&#160;&#160;{system(<a class="el" href="_utilidades_8h.html#ab0d87e07831e7e4943caef187872123e">COMMAND</a>);}</td></tr>
<tr class="separator:a5166c8175013d418faa62b6e59897c26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4f3c80609d474d15c59d1b02b55e463"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_utilidades_8h.html#af4f3c80609d474d15c59d1b02b55e463">sleep</a>()&#160;&#160;&#160;{<a class="el" href="_utilidades_8h.html#a0a5ceb9ceb914e08d345410b561cb37a">CMD</a>;}</td></tr>
<tr class="separator:af4f3c80609d474d15c59d1b02b55e463"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Definições de Tipos</h2></td></tr>
<tr class="memitem:a675acd5087f5c2ae1ddf64fe77bf12f2"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_retorno_info.html">RetornoInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_utilidades_8h.html#a675acd5087f5c2ae1ddf64fe77bf12f2">TipoRetornoInfo</a></td></tr>
<tr class="separator:a675acd5087f5c2ae1ddf64fe77bf12f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Funções</h2></td></tr>
<tr class="memitem:aa46369f3c8adbff876c82270346fffa2"><td class="memItemLeft" align="right" valign="top">const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_utilidades_8h.html#aa46369f3c8adbff876c82270346fffa2">currentDateTime</a> ()</td></tr>
<tr class="separator:aa46369f3c8adbff876c82270346fffa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ccab547c5db21b60069186c8eb1d33b"><td class="memItemLeft" align="right" valign="top">const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_utilidades_8h.html#a8ccab547c5db21b60069186c8eb1d33b">convertString</a> (const int &amp;)</td></tr>
<tr class="separator:a8ccab547c5db21b60069186c8eb1d33b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60e2a9b7a92d28518851cf3964a6ad43"><td class="memItemLeft" align="right" valign="top">const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_utilidades_8h.html#a60e2a9b7a92d28518851cf3964a6ad43">convertString</a> (const double &amp;)</td></tr>
<tr class="separator:a60e2a9b7a92d28518851cf3964a6ad43"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Definições e macros</h2>
<a class="anchor" id="a0a5ceb9ceb914e08d345410b561cb37a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CMD&#160;&#160;&#160;<a class="el" href="_utilidades_8h.html#af4f3c80609d474d15c59d1b02b55e463">sleep</a>(2)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab0d87e07831e7e4943caef187872123e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COMMAND&#160;&#160;&#160;&quot;clear&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a33f222a477648d24f7b695987c05210f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define emailsAdmin&#160;&#160;&#160;&quot;emailsAdminLinux&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a837d656118d66925e32295b470fd501a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define emailsValidos&#160;&#160;&#160;&quot;emailsValidosLinux&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af4f3c80609d474d15c59d1b02b55e463"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define sleep</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>&#160;&#160;&#160;{<a class="el" href="_utilidades_8h.html#a0a5ceb9ceb914e08d345410b561cb37a">CMD</a>;}</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5166c8175013d418faa62b6e59897c26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define wipe</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>&#160;&#160;&#160;{system(<a class="el" href="_utilidades_8h.html#ab0d87e07831e7e4943caef187872123e">COMMAND</a>);}</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Definições dos tipos</h2>
<a class="anchor" id="a675acd5087f5c2ae1ddf64fe77bf12f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct_retorno_info.html">RetornoInfo</a> <a class="el" href="_utilidades_8h.html#a675acd5087f5c2ae1ddf64fe77bf12f2">TipoRetornoInfo</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Funções</h2>
<a class="anchor" id="a8ccab547c5db21b60069186c8eb1d33b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string convertString </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Metodo que converte int em string. </p>

</div>
</div>
<a class="anchor" id="a60e2a9b7a92d28518851cf3964a6ad43"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string convertString </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Metodo que converte double em string. </p>

</div>
</div>
<a class="anchor" id="aa46369f3c8adbff876c82270346fffa2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string currentDateTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Metodo que recupera o tempo do sistema. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_983f03418386a76a32a9f4a7fdd2c4bd.html">Includes</a></li><li class="navelem"><a class="el" href="dir_c41a3706d40028c245b9947f25d0c6eb.html">Utilidades</a></li><li class="navelem"><a class="el" href="_utilidades_8h.html">Utilidades.h</a></li>
    <li class="footer">Gerado em Segunda, 1 de Outubro de 2012 15:48:37 para Projeto Rede Social POO por
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
